﻿using System;
using System.Collections.Generic;
using System.Text;
using System.Data.SqlClient;

namespace DataAccess
{
    public interface TransactionManager
    {
        void BeginTransaction();

        void CommitTransaction();

        void RollBackTransaction();

        void Open();

        void Close();

        int ExecuteNonQuery(string sql);

        int ExecuteNonQuery(string sql,SqlParameter[] param);

    }
}
